fix bug with missing last race