fix ending of optimist