fix error with blank order