random bytes pos changed