fixed debug in utils