fix method calling and fix return character