rid bugs in controllers
Merge pull request #87 from power9/master

rid bugs in controllers