fix file comments in intellij13

- a lot of copied code can be dropped because of better api