fix the negative occurence