updated error prints