adaptivity fix
Merge pull request #8 from wishmaster2016/master

adaptivity fix