fixed bug where internal order name fails if blank