fix restrict parameter + toggle prevent condition