adaptivity fix