Fixed syntax issues