doctor report fix for all records bug