bugfix on cmos