hopefully fixed a grid view crash