fixed issues in getSuggestion