utils: remove useless functions