bug fix:when two apps have  the same domain