fix no method errot