Removing duplicate semicolon