fix sharing for Profile APIs