fixed cozyLight dependency requirements, must use global instance