fix redirect tracking