prevent random errors