fixing some params position in the rails event handler