fix 0 slot bugs

fix 0 slot bugs