syntax fixes to previous update