fix slots bug