ensure option parsing