fix for max hosts per domain closes #386