fixed typo in gen expr list code