before delete printf