Fix the problem that cannot add record