remove useless function.