fix a bad syntax when there is not 3rd parameter.