active shell fix