remove unneccessary grid classes