fix figure filenames