Get rid of weird periods