correct count error