[FIX] Fixed bug in shell