Remove unwanted semi-colon