made some changes inside some of the catch code - check it.

erased all error prints in catch. because the print error is just for debugging