fixed uninitialzed mode in open()
Merge pull request #14 from mskargeth/master

fixed uninitialzed mode in open()