Fix domain binding error. init domain info in settings fro global usage.