remove shell mode