fix dates in DBManager