trying to fix grid stuff