Fixed option parsing error