[BUGFIX] Delete not used switch