fix for missing databases