more dynamic log fix