fix add record