ruby 1.9/2.0 compatibility
bump to AF 5.0