When you input a ref using autocompletion, it writes it down in the next line instead of the current line.