solve crit error