fix initial syntax issues