Bug fixes in import and community modeling