adaptivity fix
Merge pull request #5 from wishmaster2016/master

adaptivity fix