fix view photo in regression