fix pp_sexp and make alist list of pairs in environment