remove a useless function