fix semantic issue.