removing extra semi colons