Fix router (called the first method before)