remove unecessary period