remove bizarre period