removing unneeded dots