memdb conflict check, thanks Luca