fix build on idea