remove useless dots