Fix. Add mask for 3 lvl domain. issue884