fixed version bug when resource not installed
Merge pull request #5 from jsubhong/master

Bug fixes