fix bug on slots