clean up dmsg - not really helpful in the application lifetime but for the sake of better coding.