Cleanup redirect code