Corrected issue with captions not passing through