Fixing bug from last commit and intellij ignores