resolved issue in list and grid view