preparing the controllers
Fixes issue #9