Fixes profile copying issues.