rendering empty lines correclty