Fixes router component