bug fix: utility.logevent undefined var