[fix] names of the functions didnt match the actual declaration