Fixed an error in slot definitions