fixing images generation for new images