log fixes