Avoid the profile activity bug