fix the bug of empty suggestion list