Fix #24

Fix https://github.com/cloudspokes/direct-app/issues/24