fixed broken redirect