Fix RNG
Clean buil process