fix grid helper, in principle