fixing issue for inspectors redirect