apply return code
Merge pull request #5 from anhdocphys/master

apply return code