fix some spell errors with the name of function