Making sure params is initialized