fixed error of bool values in photo_xxx fields