remove extra period that will crash IE