fixed bug mapping domain