Replace 'caption' to 'text', keep consistency