fixing compile in IntelliJ