fix import to honor published flag