Fixed referee bug