made change to offers controller