fix an activity display issue