change AnonClassName to autogenerated name