fixed syntax error in offer view