correcting bug in dentiation