This is a small thing. img is not closed anymore