minor fix to text callback function/url