fix log probability