improve get_records_rows
pass all spec