Added debug and fixed reference for utils