fix log.exception calls