fix missing jpg extension