You did fine, when he hits his 1-outer on the turn it's a case of being cold-decked more than anything. Folding preflop is an option too.