Fixed newline bug for imports