try to catch redirect loops