work without database, fix #3
do not clear map on import. Fix #2