Fixed syntax error in option processing