add null check to prevent null pointer exception on prompt()
Merge branch 'master' of https://kennyhlee@github.com/voxeolabs/moho.git