fix IDEA warnings