Clean up generate random a bit