Fixed the constraints