Compact a bit by removing empty lines