Fixing profile copy logic