fix subview removal issue