Fixed bug with params overriding