I'm sure you have learned this with hindsight but I wouldn't fill your carboys that full.
When I have a very full batch I sometimes will use a long hose into bucket of water airlock so that it's less messy if it bubbles over, but best to just not have it that full to begin with