fix D2E & E2D

were reversed