Deal whith the case when user select nothing
Remove empty line