some fixes for db cache