fix config extend bug
update docs
Merge pull request #3 from oleggromov/fix-extend-config-bug

Ок.