fix duplicate fragments creation