removed broken config type check