remove useless method call.