fix caption and figure spacing