fixed a bug with editing name in profile