fix for db cache