bugfix - constraints