a little cleanup hdr project after previous change