fixed passing in sim mode