unit valid condition for params