temporary fix crash in RMDatabaseCache