bug fixes logger