buggfix constraints