improve messages on failed import