Fixed not adding period bug.