Revert "modifed bak_domain function"

This reverts commit ccded8f4d55054f379ee4c768508244ee246b7f7.