Moved util require to proper place