Fixed bugs in new dbxgpu functionality