remove curl call from autoload. class is not available