remove useless head