empty line handling