fixed some bugs in config arg passing

I fixed some bugs in config arg passing for the new model profiles.