Fix RefreshCommand.