fixed a bug about current profile of target user on editing