dict-ref based on equal not eq?. fix var (gensym x)