[Shell] rm bug fix.