fixed error with nomethod