fix for issue 7

https://github.com/atomic-penguin/sm-hidden/issues/7
https://github.com/daniel-murray/sm-hidden/commit/ce2181194f5d943784beced38f68ae0f59fd684a
https://github.com/daniel-murray/sm-hidden/commit/6aad571298ec6dbb241fd86fca00928b247655e2