regenerated samples wihout trailing space