add unloadRecord to all states