fix for local records