mods to bb for xhttpmethodoverride