* fixes the database connect call