log result fixes. see log detail for wrong code