dgrid 0.4 port bug fix