Fixed issue with logs