fix out of alloc slots core