fix syntax errors.  Add state to router.