set default alias if autogenerated
delete empty lines