[AS] remove unneccessary relations in resource