setup project in IntelliJ
fix bug