hmm, maybe I don't understand now. If buyin was $30, and you are $20 over EV, then that meant you only had equity of $10 in that pot, meaning opponent was the favourite? (which he wasn't).
If the stack sizes weren't so close I'd guess it had something to do with that, but you're practically even...
so, dunno