fix broken utils function def