fixed domain rule exception bug where the name was not being set