Fix plotOptions method