Fixes problem constraints