clean up degub stuff