Fixed Bug: Grid View not initialized properly

Fixed Bug: Grid View not initialized properly