fix activity multiinstance issue