Hotfixed the initializing problem where type-selector would not function