avoid empty lines in content