recover figure dir