fix grid layout