Fix for issue https://github.com/atomic-penguin/sm-hidden/issues/19

https://github.com/atomic-penguin/sm-hidden/issues/19