squash print error when loop cut fails which masks cause of failure