minor fix
fixed erroneous unit and legend displays