fixed bug when install
standardize code
Merge pull request #10 from luciorota/master

fixed bug when install