fixed nomethod error