[gdbp] more control on the conditions