fix bug in importing scf