Moved semicolons to correct location