remove dependencies of optimist