fix transition grid bug