remove debug functions