further to remove warning from intellij idea