Fixed one jpeg file check issue