prevent no method error