tag window working with Api with a few bug