corrected a critical error