more correct import logging