fixes error when live-replaying file where shell was not set