fixed references to other databases