fixed a small mistake in recent_acitivity