Fixed IDEA-related errors