Removing extraneous period