fixed another major sampling issue