hotfix to make webapp work with rack again.