fixed undefined getNeededOptions method