Calling controller.initialize() before working with it