bug fix for utility