Fix double redirect