Add MutiKey support and fix bug : omit the last line of file

MutiKey support add more than one option and get them as array.