remove rogue print and useless code