remove useless definitions