adding function rename fix