fixed weird remove problem