Fix global variable use
Merge pull request #7 from parshap/fix-global-var

Fix global `readable` variable