Fix problem with empty lines