Bug in $(db_name)