filter empty lines