resolved .jpg problems