Minor change to fix newline bug in shell