fix caching association
fix logging
exception handling
update readme