support advanced constraints
version 1.2.6