fixing bad record specification