fix a bug about fake shell