fixed elastic controller to get global params