fixed wrong name of func