fix the empty fragment default construct problem