fix in randomNum