compilation fix for intellij