fix open bug
Merge pull request #4 from moriken/master

fix open bug