fix empty line generating mappings