fixed bug from moving functions to util without proper imports