Bug fix about can not handle option -f