adds missing semi colons