temporary workaround for rack incompatability with ruby 1.9.3