get rid of warnings in IntelliJIDEA