remove useless calls