fixed semantic issue