delete a useless function