fix problem for anomynous user with relationship