fix bug

slot allocation size is not suitable