Fixed router id bug