made remove command work