fix syntax issues