honor gdefault option
Merge pull request #28 from seletskiy/master

honor gdefault option