minor bug fix

miss spell function name