fixes spacing and periods