check slot type instead of pointer