undefined method name fixed