fix likelihood