Fix wrong methods usage