fix PhotoDetail