Semi-colon detection correction