fixed bug in expose
Merge pull request #37 from shmish111/master

fixed bug in expose