trying to fix slot changing