minor cleanup for alg bdfs