sample loader fix