checks xd refinements for errors