some small fixes and adaptions
removed a console.log
autoformat