fix adding new records