fix no method error