bugfix on import