[simeon] fixed error in code that intellij didn't catch