fixed some warnings plus version update

intellij seems to have wrong code formatting