- fixes upload handler. didn't mesh well with migrations