Fix print commands
fix delete lines
update test