fix broken config initializer and broken specs