fixing issue #1 for other controllers
Merge pull request #8 from tkrille/master

fixing issue #1 for other controllers