fixed function name typing error