fix undefined index error on domain mapping page