handle constraint no empty