undefined to null;utils