Fix IDEA warnings