remove extra period from extension