fix mask > 0xFFFF with chnroute