remove dhtmlx, lock db