logs fixes