small routing error regarding friendly redirect