bumping into limitations of crap middleware :-(