fixing public_activity bug