removing debugs when hitting redirect