syntax fix in orders tabel