fixed UB in last commit (object name dumping)