fixed up some syntax issues