bug save ressources and bug redo