Router error fix