fix notice when "router" key is not set in app config