fixing some add_record stuff