Bug fix for database address;