fix accessRights type being empty