fixed another replicate vs single bug