fix bug of using the wrong key on the suggestion dictionary structure