fixed caption rendering and shorten too long texts to 30 chars