Fixing incorrect redirect