improving exceptions and logs