Remove wrong error checking.