Fixing set.seed bug.