Fix semantic issue