handled valid empty lines