fix many bug and listRecord is done