fix #202 fix method not being accessible