fixed if-check for whether sims==F