Check param 3934

Check parameters before retrieving them.