Correct import detection