Fixing the location and photographer ids