legend-position option issue fixed