fixing multiline bug