fix mirage constraints