Fixed a bug in !remove