fix bento queries and libguides special character input