fixed invalid router script