fix conditional issue.