Fixed bug in remove.