fixed a record issue