Fixed error with string type parameter.