fix for empty lines in web version