fix some grid stuff