fix activity display issue