fixed error intellij caused