Corrected parsing of model parameter lengths.
updating config and db engine.