bugfix/recover-b_method-assignment
master
During migration, the original fix was partially applied—`else` clause assigning `b_method` was unintentionally omitted. This commit restores the full logic as intended by the original author.