Fix removing periods