fix bug in controller
Merge branch 'master' of https://github.com/devhood/erp-blpi