fixes a context bug with relations