fix for old versions of server 10.03 with non-sequential ids