minor bug in nbt_Coher