fixed the denir bug