fixes fragment loading in case of buffer outran