fixes #2 unnecessary logs removed