Removes getmsg from shell