fixed an inconsistency with enu; enu is written to a file
working on cif input