fix bug in loglik for glmer