fix former bugs, improve domain prefix