fix slot validation