removed extra end keyword in bids controller