random num fix