Fix erroneous grid forming