make sure the parameter is actually a constant