Improve error records