fixing offering code