emptied arrays in the command handler that were supposed to be empty