remove part of print