Fix mismatch of captions with labels