change options parsing