fix warning with import and importall

Closes #1