lazy load sobject, bug fixes