fixed case sensitive jpg extension