fix styling for figures