implemented index routing fix