remove useless methods