Correcting syntax issues