fix bad area constraints