fixed bug where uploaded images wouldn't persist to the next form submit