fix grid medium