more handling of captions