fixed parsing on photo