bug fix in PYGridView