Added rubygeek's fix.