Fixed issues of eloteamrestriction