Cathch nosuchmethod error too