Fix getOption inside of AppRouter.