fix shellrecord