fix for $databases