remove unused print code