fixed import
and added exception handle
Merge branch 'master' of https://github.com/door2k/coolness