demo constrain changed