improve grid view