cleaner log handling #529
fixing wrong ;