fix bug in reciving fragment