error pages weren't redirecting to correct random page
return uid on duplicate image