fixed possible notice in router