Fix a bug that caused configuration to be ignored