Fixed bug Optim package not loading