finalize figures