Fixed issue when router instance not present at load-time