handle  empty lines