clean up figures