fix GridView attach