-bug fix in AUTO prot model optimization