fix contrain