code cleanup: parservar optData became optional