remove useless method.