bug fix in reteam crash script