added more exception printout