caching fixed
remove logging code