removed call to undefined method