getting rid of paragraph inside figure