Fix resource owner type