Fix for disable buttong and history team check
Debug adds