infinite error fix