fixed redirect finally