remove debug blocks