Fixed database caching problem #kon-1 done