fixed the issue with adding new images after reset