Fix syntax issue in step definition