fix photodaotest error