added support for flex-caption