fixed the remove command