bug old code printout