fixed removal of shell