fix semantic issue