IDEA bugfix