adds correct syntax for callback query string