The parameter should be set to `false` before the if and `true` here