Yeah its hard to get out of the way of a Flopped set like that and you end up having to pay it off. Should have bet a bit larger on the river, if I were him I would have came over the top only fearing pocket AQ which he may have put you on if you had bet larger on the flop.