update to handle system !=0
Merge pull request #11 from shohey1226/webapp-0.0.2

update to handle system !=0 and this fix #9