trying to fix editing slots