Fix scope leak in hide.
Merge pull request #74 from bmount/patch-1

Fix scope leak in hide.