the bug of publicActivity has been solved