fixed bug with random offset
zeros instead of off
zeros instead of off