fix in regularization