fix caption and delete unnecesary styles