issue#4 fix

Undefined variable: entry_method_ab, entry_method_sb issue#4