comment replies
fix error when reporting errors, and use parameter binding for autocomplete list retrieval