Fix bug and do not delete old image