fix on photo contentType