fix to slot type