fixed a bug where adding manual config was failing