fixed illegal name warning for relations