del gw + some fix
implement setAgsData