fix -b none crash