correct getExtraOptions method