fixed autoclose issue
Merge pull request #2 from randomknowledge/1-5-stable

fixed autoclose issue