remove hardcoded constraints equality check