prevent 'double proxy'