server wrapper condition validation