Fixed issue #27 https://github.com/shinesoftware/shineisp/issues/27