fixed bug: call unexisted function