format leg info popup better