Constraints problem resolved