removing unneeded debug data