Fixed incorrect type of parameter.