support text callback