corrected some routing problems