fix type in equations' legend