fixing seperated DB