adaptivity fix
Merge pull request #2 from wishmaster2016/master

adaptivity fix