removes empty lines