fixed typo
changed logoutput