Fixed random errors