small changes to utils