Semi colons and other syntax things fixed