file upload works
more fixes