critical error fix