Fix bug of option parser