Fixed exception issue #13
Merge branch 'master' of github.com:shameerc/TextPress

* 'master' of github.com:shameerc/TextPress:
  fixed excetion issue