remove useless method call