fixes localrecords equals messages