fixed minor code issues from code gen