new grid layout and fixed midea query issue with bg