Fixed minor shell compatability issue