make sure values exist for params