Fix prints in catch

This should fix #117