make small modification to utils