fixed scoping of relations on reset