add catch for html import