Fix profile modification issue