Use correct variable for database name