Fixing profile bugs