removed extra printing flags