code syntax fixes