fix figure formatting