Fixed random error