fixed typo Math.random