fix router configuration [closes #2]