ifixed the random no issue