fix slot length bug
Merge pull request #1 from maralla/slot_length

fix slot length bug