only error when result draw breaks front end