fix manual config passing