made some syntax fixes