another ruby 1.8-ism (can't match on symbol)