Resolver url/idundefined bug