bug fixes related to per-feature regularization