Fix double printing of injected line.