core: add missed semicolons
core: add debug lines
core: just add some breaklines