fix method parsing like '->_method'