fixed cf errors