Fixed bugs after IDEA analiz