fixed a regression bug. Import was not working any more
updated version