remove a useless warning output
fix build break for missing record file