add . to jpg so its .jpg