refactor light line for guides