Fixed empty legend