fix view page activity stuff