duplicate select after introducing newline