fixed bug function name wrong