don't segfault without a valid database entry