Corrected the error in Remove
Corrected the error in Remove