fix bug on unicorn and rack>1.5.0