fix shareid/active bug