Fix calling params before setting it