cleaning up prints and catches