print exception message in errors & small fixes