fix unresolved variable

Noticed this issue while accessing 'offers' path. this stops the server