Fixes logger