fix order of options