undo changes to context comparison