Attractive force and residual magnetism in AgO-doped and non-doped YBCO