fixed a bug that loglike wasn't getting assigned on add