changed all  controller.server.trigger to controller.trigger