always fix path if in an import.