rand(a..b) issue removal